package com.vogue.supplymall.common.exception;

import com.vogue.ssm.exception.BaseException;
import com.vogue.supplymall.common.constant.ErrorCode;

/**
 * The type Upload exception.
 *
 * @aouthor: zhangliang
 * @date: Create in 2018-03-27
 */
public class UploadException extends BaseException {

    /**
     * Instantiates a new Upload exception.
     *
     * @param msg the msg
     */
    public UploadException(String... msg) {
        super(ErrorCode.UploadFailure.getCode(), String.format(ErrorCode.UploadFailure.getMsg(), msg));
    }
}
